<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>开设教学班</title>
<load href="__JS__/jQuery/jquery.js" />
       	<load href="__JS__/jQuery/jquery.form.js" />
		<script type="text/JavaScript">
        $(function(){
            $('#form1').ajaxForm({
                //beforeSubmit:  function(){alert("before");},  // pre-submit callback
                success:       complete,  // post-submit callback
                error:function(){alert("error");},
                dataType: 'json'
            });
            
            function complete(data){
                if (data.status==1)
                {
                	window.location='__URL__/classdetail';
                }else{
                    $('#result').html(data.info).show();
                }
            }
        });
        </script>
</head>
<body bgcolor="#eeeeee">
<layout name="Auth:header" />
<iframe src="__URL__/menu" style="position:absolute; left:40px; top:350px; width:180px; height:190px;" frameborder=”no” border=”0″ marginwidth=”0″ marginheight=”0″ scrolling=”no”></iframe>
<div  style="position:relative; top:-70px; left:240px; font-size:12px; width:60%;">
	当前位置：
	<a href='__APP__/index/index'>主页</a>>
	<a href='__URL__/index'>后台管理</a>>
	<a href='__URL__/classdetail'>教学班管理</a>>
	添加学生
	</div>
<div id='result' style="position:relative; left:210px; color:red; font-size:12px;"></div>
<div style="width:70%; position:relative; left:160px;" align="right"><a href="__URL__/classdetail" style="text-decoration:none">返回</a></div>
<div style="position:relative; left:210px;">
<form  id='form1' method='post' action='__URL__/student_add'>
学号<input type='text' name='no'><br>
<input type='hidden' name='classid' value={$id}>
<input type='submit' value='提交'>
</form>
</div>
</body>
</html>